//
//  XHCouponsCell.h
//  umibus
//
//  Created by 冷山 on 16/6/17.
//  Copyright © 2016年 lexingsoft. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol XHCouponsCellDelegate <NSObject>

- (void)userAction:(UIButton*)sender;

- (void)sellAction:(UIButton*)sender;

- (void)examplesAction:(UIButton*)sender;

@end


static NSString * const XHCouponsCellIdentifier = @"XHCouponsCellIdentifier";

@interface XHCouponsCell : UITableViewCell

@property (assign, nonatomic) id<XHCouponsCellDelegate>delegate;
@property (weak, nonatomic) IBOutlet UIView *ui_bgView;
@property (weak, nonatomic) IBOutlet UIImageView *ui_juChi;
@property (weak, nonatomic) IBOutlet UILabel *ui_couponsType;
@property (weak, nonatomic) IBOutlet UILabel *ui_leftlabel;
@property (weak, nonatomic) IBOutlet UILabel *ui_rightLabel;
@property (weak, nonatomic) IBOutlet UILabel *ui_useTime;
@property (weak, nonatomic) IBOutlet UILabel *ui_couponsContent;
@property (weak, nonatomic) IBOutlet UIImageView *ui_xu;

@property (weak, nonatomic) IBOutlet UIButton *ui_useButton;
@property (weak, nonatomic) IBOutlet UIButton *ui_sellButton;
@property (weak, nonatomic) IBOutlet UIButton *ui_examplesButton;
@property (weak, nonatomic) IBOutlet UIView *ui_discountView;
@property (weak, nonatomic) IBOutlet UILabel *ui_zhe;
@property (weak, nonatomic) IBOutlet UILabel *ui_zheLabel;
@property (weak, nonatomic) IBOutlet UILabel *ui_useConut;

- (void)setCouponsUsedType:(NSDictionary*)dic;

@end
